package com.jxpanda.spring.module.common.config.properties;


import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.http.HttpStatus;

@Getter
@Setter
@ConfigurationProperties(prefix = "panda.spring.common.global-exception-handler")
public class GlobalExceptionHandlerProperties {

    private boolean enable = true;

    private HttpStatus httpStatus = HttpStatus.INTERNAL_SERVER_ERROR;

}
